import {myRequest} from "../utils/request.js"
export function groupDetails(data){
	return myRequest({
		url:"hx_group/groupDetails",
		method: "post",
		data:data||{}
	})
}

export function groupMemberDetails(data){
	return myRequest({
		url:"hx_group/groupMemberDetails",
		method: "post",
		data:data||{}
	})
}

export function updateGroup(data){
	return myRequest({
		url:"hx_group/updateGroup",
		method: "post",
		data:data||{}
	})
}

export function setAdministrator(data){
	return myRequest({
		url:"hx_group/setAdministrator",
		method: "post",
		data:data||{}
	})
}
export function adminList(data){
	return myRequest({
		url:"hx_group/adminList",
		method: "post",
		data:data||{}
	})
}
export function memberSetup(data){
	return myRequest({
		url:"hx_group/memberSetup",
		method: "post",
		data:data||{}
	})
}

export function memberGroupList(data){
	return myRequest({
		url:"hx_group/memberGroupList",
		method: "post",
		data:data||{}
	})
}
export function searchMember(data){
	return myRequest({
		url:"hx_group/searchMember",
		method: "post",
		data:data||{}
	})
}

export function addGroupMember(data){
	return myRequest({
		url:"hx_group/addGroupMember",
		method: "post",
		data:data||{}
	})
}
export function removeGroupMember(data){
	return myRequest({
		url:"hx_group/removeGroupMember",
		method: "post",
		data:data||{}
	})
}
export function blockUserSendMsgToGroup(data){
	return myRequest({
		url:"hx_group/blockUserSendMsgToGroup",
		method: "post",
		data:data||{}
	})
}

export function unblockUserSendMsgToGroup(data){
	return myRequest({
		url:"hx_group/unblockUserSendMsgToGroup",
		method: "post",
		data:data||{}
	})
}
export function blockUserList(data){
	return myRequest({
		url:"hx_group/blockUserList",
		method: "post",
		data:data||{}
	})
}

